<?php
namespace app\api\validate;

use think\Validate;

/**
 * Class AboutValidate
 * @package app\api\validate
 * @author zhenHong~
 * 关于我们验证
 */
class AboutValidate extends Validate{

    protected $rule = [
        'name' => ['require'],
        'companyurl' => ['require'],
        'wxcompany' => ['require'],
        'phone' => ['require'],
        'version' => ['require']
    ];

    protected $message = [
        'name' => '请输入平台名',
        'companyurl' => '请输入公司官网',
        'wxcompany' => '请输入微信公众号',
        'phone' => '请输入客服热线',
        'version' => '请输入版本号',
    ];
}